#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
void add(int*p)
{
	(*p)++;
}
int main()
{
	int num = 0;
	add(&num);
	printf("%d\n", num);//1
	add(&num);
	printf("%d\n", num);//2
	add(&num);
	printf("%d\n", num);//3



	return 0;
}